import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
	linkActiveClass: 'on',
	routes: [{
		path: '/',
		component: () =>
			import('@/components/Index'),
		children: [{
			path: '',
			name: 'Home',
			component: () =>
				import('@/components/Home'),
			meta: {
				title: '高新奇'
			}
		},
		{
			path: '/Others',
			name: 'Others',
			component: () =>
				import('@/components/Others'),
			meta: {
				title: '高新奇园区介绍'
			}
		},
		{
			path: '/About',
			name: 'About',
			component: () =>
				import('@/components/About'),
			meta: {
				title: '企业介绍'
			}
		},
		{
			path: '/Other',
			name: 'Other',
			component: () =>
				import('@/components/Other'),
			meta: {
				title: '其他咨询'
			}
		}]
	},
	{
		path: '/GXQAbout',
		name: 'GXQAbout',
		component: () =>
			import('@/components/GXQAbout'),
		meta: {
			title: '高新奇会议厅'
		}
	},
	{
		path: '/bothAbout',
		name: 'bothAbout',
		component: () =>
			import('@/components/bothAbout'),
		meta: {
			title: '企业介绍'
		}
	},
	{
		path: '/Content',
		name: 'Content',
		component: () =>
			import('@/components/Content'),
		meta: {
			title: '详情'
		}
	},
	{
		path: '/Dynamic',
		name: 'Dynamic',
		component: () =>
			import('@/components/Dynamic'),
		meta: {
			title: '公司动态'
		}
	},
	{
		path: '/OtherInf',
		name: 'OtherInf',
		component: () =>
			import('@/components/OtherInf'),
		meta: {
			title: '园区服务'
		}
	},
	{
		path: '/OtherInf2',
		name: 'OtherInf2',
		component: () =>
			import('@/components/OtherInf2'),
		meta: {
			title: '园区资讯'
		}
	},
	{
		path: '/OtherInf22',
		name: 'OtherInf22',
		component: () =>
			import('@/components/OtherInf22'),
		meta: {
			title: '会议详情'
		}
	},
	{
		path: '/OtherInf3',
		name: 'OtherInf3',
		component: () =>
			import('@/components/OtherInf3'),
		meta: {
			title: '沟通会议'
		}
	}, {
		path: '/OtherInf33',
		name: 'OtherInf33',
		component: () =>
			import('@/components/OtherInf33'),
		meta: {
			title: '沟通会议'
		}
	},
	{
		path: '/News',
		name: 'News',
		component: () =>
			import('@/components/News'),
		meta: {
			title: '新闻动态'
		}
	},
	{
		path: '/honor',
		name: 'Honor',
		component: () =>
			import('@/components/honor'),
		meta: {
			title: '新闻动态'
		}
	},
]
})